/**
  * Copyright (c) CSIRO Australia, 2009
  *
  * @author $Author: jia020 $
  * @version $Id: AccessController.java 643 2009-05-20 00:20:55Z jia020 $
  */
package au.csiro.nt.pdsp.accesscontrol;

/**
 * Class for AccessControl processing.
 */
public class AccessController {
	/**
	 * Returns a content string which was filtered based on the policies.
	 * @param in The original content.
	 * @return out The content which was filtered based on policies.
	 * @throws AccessControlException thrown if contentFiltering could not be processed.
	 */	
	public String contentFiltering(String in) throws AccessControlException {
		String out = in;		
		return out;
	}
	/**
	 * Returns a boolean to indicate if plickyChecking is success.
	 * @param policy .
	 * @return boolean true if plickyChecking is success..
	 * @throws AccessControlException thrown if policyChecking could not be processed.
	 */		
	public boolean policyChecking(Policy policy) throws AccessControlException {
		String out;
		return true;
	}	
}
